﻿#include "DAToolBox.h"
#include "DANodeListWidget.h"
void DAToolBox::addItems(const QMap<QString, QList<DANodeMetaData>> &datas)
{
    for (auto i = datas.begin(); i != datas.end(); ++i) {
        DANodeListWidget *nlw = new DANodeListWidget(this);
        nlw->addItems(i.value());
        addItem(nlw, i.key());
    }
}
